{#include file="admin_header.htm"#}
<div class="admin_main_nr_dbox">

  <table width="700" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF"  >
    <tr>
      <td width="120" height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">用戶名：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"> {#$company_user.username#} </td>
      <td width="120" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">注冊郵箱：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">{#$company_user.email#}</td>
    </tr>
    <tr>
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">注冊時間：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.reg_time|date_format:"%Y-%m-%d   %H:%M:%S"#}</td>
      <td align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >最后登陸時間：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.last_login_time|date_format:"%Y-%m-%d   %H:%M:%S"#}</td>
    </tr>
    <tr>
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">注冊IP：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.reg_ip#}</td>
      <td align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >最后登陸IP：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed" >{#$company_user.last_login_ip#}</td>
    </tr>
  </table>
   
  <table width="700" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF"  >
	  <tr style="display:none;">
          <td width="120" height="30" align="right" bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed"><strong style="color:#003399">積分設置</strong>&nbsp;&nbsp;&nbsp;</td>
          <td bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed">&nbsp; </td>
      </tr>
		 <form id="form1" name="form1" method="post" action="?act=userpoints_edit">
		 <tr style="display:none;">
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">會員積分：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed; color: #FF6600; font-size:16px;" >{#$userpoints#}</td>
    </tr>
			<tr style="display:none;">
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">操作積分：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed;" >
	  <select name="points_type" id="points_type" style=" font-size:12px;">
	    <option value="1" selected="selected">增加</option>
	    <option value="2">減少</option>
	  </select>&nbsp;&nbsp;積分<input name="points" type="text"  id="points" maxlength="5" value="0" style="width:50px; height:16px; font-size:14px;" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
	  點        </td>
    </tr>
	<tr style="display:none;">
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">操作說明：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed;" >
        <input name="points_notes" type="text" class="article_text_f" id="points_notes" maxlength="60" value="" style="width:450px;"/>        </td>
    </tr>
    <tr style="display:none;">
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">&nbsp;</td>
      <td height="35" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"><span style="font-size:14px;">
        <input type="hidden" name="uid"  value="{#$company_user.uid#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="確定"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="submit22" type="button" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr> </form>
		  <tr>
          <td height="30" align="right" bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed"><strong style="color:#003399">修改密碼</strong>&nbsp;&nbsp;&nbsp;</td>
          <td bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed">&nbsp; </td>
        </tr>
		 <form id="form1" name="form1" method="post" action="?act=userpass_edit">
	<tr>
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">新密碼：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed;" >
        <input name="password" type="password" class="article_text_f" id="password" maxlength="50" value=""  />        </td>
    </tr>
	<tr>
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">再次輸入新密碼：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed;" >
        <input name="password1" type="password" class="article_text_f" id="password1" maxlength="50" value=""  />        </td>
    </tr>
	    <tr>
      <td height="30" align="right" bgcolor="#FFFFFF"  >&nbsp;</td>
      <td height="60" bgcolor="#FFFFFF"  ><span style="font-size:14px;">
        <input type="hidden" name="username"  value="{#$company_user.username#}" />
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="確定"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="submit22" type="button" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr>
	</form>
	 <form id="form2" name="form2" method="post" action="?act=userstatus_edit">
	 <tr>
          <td height="30" align="right" bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed"><strong style="color:#003399">用戶狀態</strong>&nbsp;&nbsp;&nbsp;</td>
          <td bgcolor="#EDF5F8" style=" border-bottom:1px #CCCCCC dashed">&nbsp; </td>
       </tr>
		<tr>
      <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed">帳號狀態：</td>
      <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed;" >
	    <label>
	    <input name="status" type="radio" value="1"  {#if $company_user.status=="1"#}checked="checked"{#/if#}/>
	    正常</label> 
		<label>&nbsp;&nbsp;&nbsp;&nbsp;
	    <input type="radio" name="status" value="2"  {#if $company_user.status=="2"#}checked="checked"{#/if#}/>
	    暫停</label>
		</td>
    </tr>
	    <tr>
      <td height="30" align="right" bgcolor="#FFFFFF"  >&nbsp;</td>
      <td height="60" bgcolor="#FFFFFF"  ><span style="font-size:14px;">
		<input type="hidden" name="url"  value="{#$url#}" />
        <input name="submit3" type="submit" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="確定"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="submit22" type="button" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="返 回" onclick="Javascript:window.history.go(-1)"/>
      </span></td>
    </tr>
	</form>
  </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
